import Vue from 'vue';
import App from './App';
import router from './router'
import "bootstrap/dist/css/bootstrap.min.css"
import * as API from "@/api";
import Nav from '@/components/Nav';
import Footer from '@/components/Footer'
import Pages from '@/components/Pages'
import "@/assets/css/base.css";
import moment from 'moment';
Vue.component(Nav.name,Nav);
Vue.component(Footer.name,Footer);
Vue.component(Pages.name,Pages);
moment.locale('zh-cn');
Vue.config.productionTip = false

new Vue({
  beforeCreate(){
    Vue.prototype.$API = API;
  },
  router,
  render: h => h(App)
}).$mount('#app')
